package agency.tango.materialintroscreen;

import ohos.agp.components.Component;

/**
 * @ProjectName: material-intro-screen-master
 * @Package: agency.tango.materialintroscreen
 * @ClassName: MessageButtonBehaviour
 * @Description: MessageButton的Behaviour
 * @CreateDate: 2021/4/12 20:03
 * @UpdateDate: 2021/4/12 20:03
 * @UpdateRemark: 暂无
 * @Version: 1.0
 */
public class MessageButtonBehaviour {
    private Component.ClickedListener clickListener;
    private String messageButtonText;

    public MessageButtonBehaviour(Component.ClickedListener clickListener, String messageButtonText) {
        this.clickListener = clickListener;
        this.messageButtonText = messageButtonText;
    }

    public MessageButtonBehaviour(String messageButtonText) {
        this.messageButtonText = messageButtonText;
    }

    public Component.ClickedListener getClickListener() {
        return clickListener;
    }

    public String getMessageButtonText() {
        return messageButtonText;
    }
}

